package com.yj.ccs.abs.web.asset.dto;

import com.yj.ccs.abs.common.enums.ContractType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/22
 * Author     : Unbelievable9
 **/
@Data
public class ContractDetailDto {

    @NotNull(message = "资产ID不能为空")
    @ApiModelProperty(value = "资产ID", required = true, example = "1")
    private Long id;

    @NotNull(message = "合同类型不能为空")
    @ApiModelProperty(value = "合同类型<br>1-上游合同<br>2-下游合同", required = true, example = "UPSTREAM")
    private ContractType contract_type;
}
